package com.dems.dao.mapper.la;

import com.dems.dao.dataobject.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<Menu> selectList();

    Menu selectByCode(@Param("menuCode") String menuCode);

    List<Menu> selectByRoleCode(@Param("roleCodeList") List<String> roleCodeList);
}